package com.miage.itrading.client;

import java.util.Date;
import java.util.List;

import com.google.gwt.user.client.rpc.AsyncCallback;
import com.miage.itrading.shared.entites.Cotation;
import com.miage.itrading.shared.entites.Historique;
import com.miage.itrading.shared.entites.Intraday;

public interface GetListesServiceAsync {

	void getByMnemo(String searchTxt, AsyncCallback<Cotation> cot);

	void getCotationById(int id, AsyncCallback<Cotation> callback);

	void getCotationByMnemo(String mnemo, AsyncCallback<Cotation> getCAC40);

	void getHistorique(int idCotation, Date start, Date end,
			AsyncCallback<List<Historique>> semaineCallback);

	void getIndiceComposition(int idIndice,
			AsyncCallback<List<Cotation>> callback);

	void getIndices(AsyncCallback<List<Cotation>> listeIndices);

	void getIntraday(int idCotation, Date range,
			AsyncCallback<List<Intraday>> intradayCallback);

}
